package com.anuai.abctest1.Service.MessageBus;

import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

@Component
@RabbitListener(queues = "MessageBus")
public class Receiver {
    @RabbitHandler
    public void process(String msg) {
        System.out.println("abc-test1 - Receiver:" + msg);
    }
}
